<?php
namespace system\libraries;

use system\libraries\files\File;

/**
 * Description of Files
 *
 * @author Steffen Brem <steffenbrem@gmail.com>
 */
class Files 
{
    /**
     * Createa new file
     * 
     * @param string $fileName
     * @param string $mode r, r+, w, w+, a, a+ x, x+, c, x+
     * @return system\libraries\files\File 
     */
    public static function factory( $fileName )
    {
        return new File($fileName);
    }
}